glarea: Add GtkGLArea::allowed-apis
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Apr 2023 23:24:58 +0000 (19:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Apr 2023 03:05:38 +0000 (23:05 -0400)
commit9c26262e3e08300631c77727cdec318bd049a344
tree3adec376a0310da2aa7c47cdc4d0163e264c1073
parent7723045e9acf1b4785c43e44bae5883aee6b7e49
glarea: Add GtkGLArea::allowed-apis

Add api that mirrors the new GdkGLContext api
for selecting OpenGL variants, and deprecate
the old use_es api.

Fixes: #5330
gtk/gtkglarea.c
gtk/gtkglarea.h